import { createBrowserHistory, createHashHistory } from 'history'
// 1. 创建自定义history对象
// h5的history模式(不带#)
const customHistory = createBrowserHistory()
// hash模式
// const customHistory  = createHashHistory()

// 2. 导出自定义history对象
export default customHistory